package com.cjx.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author cjx
 * @date 2021/6/10 0010 - 21:14
 */
@SpringBootApplication
@EnableFeignClients
@EnableEurekaClient
@EnableHystrix//激活服务降级
public class OerderHystrixMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OerderHystrixMain80.class,args);
    }
}
